package com.pwt.model.crustallus;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author dw
 * @version 1.0.0
 * @date 2021/9/27
 */
@Data
@Schema(name = "")
public class LusHeaderModel {

    @Schema(name = "k4092",description = "机器号")
    private String k4092;

    @Schema(name = "k4093",description = "机器名称")
    private String k4093;

    @Schema(name = "k1000",description = "零件编号")
    private Integer k1000;

    @Schema(name = "k1002",description = "零件名称")
    private String k1002;

    @Schema(name = "k0010",description = "机器编号")
    private Integer k0010;

    @Schema(name = "beginTime",description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date beginTime;

    @Schema(name = "endTime",description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endTime;

    @Schema(description = "被测参数集合")
    private List<ParameterModel> list;
}
